<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="DataLayer" namespace="DataLayer.Entities" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Pastel" table="Pastel" lazy="true" >
    <id name="Pastelid" column="PastelId">
      <generator class="identity" />
    </id>
    <one-to-one name="Pasteleria"/>
    <one-to-one name="Tipopastel"/>
    <property name="Nombre"/>
    <property name="Imagen"/>
    <bag name="Pasteltamaño">
        <key column="PasteltamañoId" />
        <one-to-many class="Pasteltamaño" />
      </bag>
  </class>
</hibernate-mapping>